const amqp=require('amqp-connection-manager');

var connect =amqp.connect('amqp://admin:admin@10.184.60.104:5672');
connect.on('connect',function(){
     console.log('connected');
});
connect.on('connectFailed',function(err){
     console.log('Disconnected.', err.stack);
})
connect.on('disconnect', function(err) {
 console.log('Disconnected.', err.stack);
});
module.exports=connect;